package cn.webrx;

import java.util.stream.Stream;

public class Stream4 {
    public static void main(String[] args) {
    Stream<Integer> is = Stream.of(25,1,2,3,3,30);
        //is.sorted().forEach(System.out::println);
        is.sorted((a,b)->b-a).forEach(System.out::println);
    }

}
